/**
 * Created by oureda on 4/23/16.
 */
var crypto = require("crypto");
var secret = "OurEDA_Intel";
var hash = crypto.createHmac("sha1",secret)
    .digest("hex");


module.exports = {
    db:{
        dialect:"postgres",
        host : "139.129.42.180",
        user : "postgres",
        pwd : "oureda_postgres",
        dbname : "intel",
        port : '5432',
        toString:function(){
            return `${this.dialect}://${this.user}:${this.pwd}@${this.host}/${this.dbname}`;
        }
    },
    PIN : hash
};